aggressive_county_conquest = { # county conquest
	name = CB_COUNTY_CONQUEST
	war_name = WAR_COUNTY_CONQUEST
	sprite = 7
	truce_days = 3650
	hostile_against_others = yes
	is_permanent = yes
	can_call_allies = yes # Can either side call allies
	can_attack_vassals = yes
	check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles
	can_ask_to_join_war = yes
	
	can_use_gui = {
		ROOT = {
			scaled_wealth = 0.25
		}
	}
	
	on_add = {
		ROOT = { scaled_wealth = -0.25 }
	}

	can_use = { 
		always = yes
	}
	
	can_use_title = {
		tier = count
		ROOT = { NOT = { same_realm = FROM } }
		location = {
			any_neighbor_province = {
				owner = {
					OR = {
						character = ROOT
						is_liege_or_above = ROOT
					}
				}
			}
		}
	}
	is_valid_title = {
		OR = {
			FROM = {
				has_landed_title = PREV
			}
			holder_scope = {
				is_liege_or_above = FROM
			}
		}
	}
	
	on_add = {
	}
	
	on_success = {
	}
		
	on_success_title = {
#		ROOT = {
#			prestige = 100
#			piety = 100
#		}
#		FROM = {
#			prestige = -100
#			piety = -100
#		}
		usurp_title_plus_barony_if_unlanded = ROOT
		any_de_jure_vassal_title = { # take all baronies under the one we're fighting for
			limit = {
				has_holder = yes
				NOT = {
					de_facto_liege = PREV
				}
				holder_scope = {
					OR = {
						character = FROM
						is_liege_or_above = FROM
					}
				}
			}
			usurp_title_plus_barony_if_unlanded = ROOT
		}
	}

	on_fail = {
		ROOT = {
			prestige = -100
		}
		FROM = {
			prestige = 100
		}
	}

	on_reverse_demand = {
		ROOT = {
			prestige = -200
		}
		FROM = {
			prestige = 200
		}
	}
	
	attacker_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	attacker_ai_defeat_worth = {
		factor = 100
	}

	defender_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	defender_ai_defeat_worth = {
		factor = 100
	}

	ai_will_do = { 
		factor = 1
		
		modifier = {
			factor = 0.5 # Lower than normal desire.
		}
	}	
	
}